Date: Thu, 7 Aug 2003 00:43:12 +0200 From: thomas@deniau.org (Thomas Deniau) To: freebsd-questions@freebsd.org Subject: nss_ldap in -CURRENT Message-ID: <1fzapny.w7e9z61mx003gM%thomas@deniau.org>
next in thread | raw e-mail | index | archive | help
Hi ! I'm trying to use nss_ldap, to implement ldap authentication, in 5.1-current. The LDAP server works perfectly. I've installed the nss_ldap and pam_ldap ports, edited /usr/local/etc/ldap.conf. put "passwd: files ldap" and "group:files ldap" in /etc/nsswitch.conf. pam_ldap works perfectly : the auth stage succeeds, but then the login fails : I guess that nss_ldap doesn't find my UID. In fact, when I use getpwent() I don't get LDAP users.... So it seems that something in nsswitch is not working, but there is no error logged... When I try to use id, for example, I get "no such user" for LDAP users. So, how can I know if nss_ldap is loaded and what is causing the error ? Has anyone succeeded in using nss_ldap ? Thank you in advance, -- Thomas Deniau
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1fzapny.w7e9z61mx003gM%thomas>